package p1

import (
	"com/hr/cycle/p2"
	"fmt"
)

type P1 struct {
}

func New() *P1 {
	return &P1{}
}

func (p *P1) HelloFromP1() {
	fmt.Println("hello from package p1")
}
func (p *P1) HelloFromP2Side() {
	p2 := p2.New(p)
	p2.HelloP1Side()
}
